package com.ruoyi.business.goods.domain;

import java.math.BigDecimal;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.business.base.JoBaseEntity;
import lombok.Data;

/**
 * 套餐商品对象 jb_package_commodity
 *
 * @author ruoyi
 * @date 2024-10-11
 */
@Data
public class JbPackageCommodity extends JoBaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 套餐id
     */
    @Excel(name = "套餐id")
    private Long packageId;

    /**
     * 套餐编号
     */
    @Excel(name = "套餐编号")
    private String packageNumber;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    private Long commodityId;

    /**
     * 商品编号
     */
    @Excel(name = "商品编号")
    private String commodityNumber;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String commodityName;

    /**
     * 商品规格（数据字典）
     */
    @Excel(name = "商品规格", readConverterExp = "数=据字典")
    private String commoditySpecification;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long quantity;

    /**
     * 线上拆箱价格
     */
    @Excel(name = "线上拆箱价格")
    private BigDecimal onlineIndividualPrice;

    /**
     * 线上整件价格
     */
    @Excel(name = "线上整件价格")
    private BigDecimal onlineWholePrice;

    /**
     * 线下商品价格数据，因价格和商品都是动态
     */
    @Excel(name = "线下商品价格数据，因价格和商品都是动态")
    private String offlinePriceJson;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;
}
